//
//  ZPayYHTableViewCell.m
//  DoctorFAQs
//
//  Created by zjq on 17/2/16.
//  Copyright © 2017年 zjq. All rights reserved.
//

#import "ZPayYHTableViewCell.h"
#import "ZLabelTools.h"
@interface ZPayYHTableViewCell () {
    UILabel * _CouponLabel;
    UILabel * _chooseLabel;
    UIImageView * _imageView;
}

@end
@implementation ZPayYHTableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self initlizeInterface];
    }
    return self;
}
- (void)initlizeInterface {
    _CouponLabel = [[UILabel alloc] init];
    [ZLabelTools setThelabel:_CouponLabel Textcolor:[UIColor blackColor] backColor:[UIColor whiteColor] Fontsize:15 context:@"优惠券" isCenter:NO];
    _chooseLabel = [[UILabel alloc] init];
//    _imageView = [[UIImageView alloc] init];
    [ZLabelTools setThelabel:_chooseLabel Textcolor:KHGaryColor backColor:[UIColor whiteColor] Fontsize:15 context:@"点击选择" isCenter:NO];
    
}
- (void)addALLsubViewMasnoy {
    [self.contentView addSubview:_CouponLabel];
    [self.contentView addSubview:_chooseLabel];
    [_CouponLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        
    }];
    [_chooseLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.contentView);
        make.right.equalTo(self.contentView).offset(30*xsIZE);
        make.width.offset(40*xsIZE);
        make.height.offset(15*ysIZE);
    }];
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
